# -*- coding: utf-8 -*-
# @Time: 2025/11/9 9:19
# @Author: subencai
# @Email: 2080981057@qq.com
# @File: __init__.py
# @Project: flaskProject
# @Description:
# from  .view02 import view02_bp
# from .student import stu_bp
# def init_app(app):
#     app.register_blueprint(view02_bp)
#     app.register_blueprint(stu_bp)

# router/__init__.py
from .view01 import view01_bp
from .view02 import view02_bp
from .student import stu_bp
# 注册老师蓝图到主应用
from .teacher import teacher_bp  # 导入老师蓝图

def init_app(app):
    app.register_blueprint(view01_bp)
    app.register_blueprint(view02_bp)
    app.register_blueprint(stu_bp)
    app.register_blueprint(teacher_bp)  # 注册老师蓝图